/* userItems与classItems共有开始 */
.user-items {
  width: 100%;
  background-color: #f4f5f5;
}
.user-item {
  width: 100%;
  background-color: white;
  display: inline-block;
  height: 130px;
  padding: 10px 0 10px 20px;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-border-radius: 2px;
  -moz-border-radius: 2px;
  border-radius: 2px;
  border: 1px solid transparent;
  margin-bottom: 15px;
}
.user-item:hover {
  border: 1px solid #f1f2f3;;
}
.user-item p{
  text-align: left;
}
.user-items .user-item:nth-child(odd) {
  margin-right: 1%;
}
.user-item .user-info {
  overflow: hidden;
}
.user-item .user-info>div {
  float: left;
}
.user-item .user-info .user-head {
  width: 50px;
  height: 50px;
  margin: 5px 20px 0 0;
}
.user-item .user-head img {
  width: 100%;
  height: 100%;
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  border-radius: 50%;
}
.user-item .user-head img:hover {
  cursor: pointer;
}
.user-item .user-info .user-about {
  height: 60px;
}
.user-item .user-info>div{
  width: calc(100% - 100px);
}
.user-item .user-info>div p {
  width: 100%;
  -ms-text-overflow: ellipsis;
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
}
.user-info .user-about .username {
  height: 30px;
  font: 18px/30px "Microsoft YaHei",sans-serif;
  font-weight: bold;
}
.user-info .user-about .user-introduce {
  color: #71777c;
  height: 30px;
  font: 16px/30px "Microsoft YaHei",sans-serif;
}
.user-info .user-about .user-introduce span {
  font-weight: normal;
}
/* 下面的 */
.user-related {
  margin-top: 10px;
  height: 40px;
  position: relative;
  z-index: 1;
}
.user-related .fans,.follow-button {
  float: left;
}
/* 粉丝数量 */
.user-related .fans {
  color: #71777c;
  display: inline-block;
  width: fit-content;
  height: 40px;
  font: 18px/40px "Microsoft YaHei",sans-serif;
}
.user-related .fans span {
  font: 16px/40px "Microsoft YaHei",sans-serif;;
}
/* 关注 */
.user-related .follow-button {
  width: fit-content;
  height: 30px;
  margin: 5px 80px;
  -webkit-border-radius: 2px;
  -moz-border-radius: 2px;
  border-radius: 2px;
  padding: 0 15px;
  line-height: 30px;
  position: absolute;
  left: 80px;
  z-index: 0;
}

/* 已经关注的 */
.user-related .follow-button.is-follow {
  background-color: #8bbb4e;
  color: white;
}
.user-related .follow-button.is-follow:hover {
  background-color: #80ac48;
  cursor: pointer;
}
/* 未关注的 */
.user-related .follow-button.not-follow {
  color: #8bbb4e;
  border: 1px solid #8bbb4e;
}
.user-related .follow-button.not-follow:hover {
  color: #80ac48;
  cursor: pointer;
}
/* user与class共有开始 */
